//
// Created by korack on 25-5-20.
//

#ifndef MSGQUEUE_H
#define MSGQUEUE_H

#include "config.h"

typedef struct _MsgQueue MsgQueue;
#define MSG_QUEUE(any) ((MsgQueue *)(any))

extern MsgQueue *msg_queue_new_from_global(void);

extern void msg_queue_add_to_queue(MsgQueue *self, uint8_t *msg);

extern uint8_t *msg_queue_get_from_queue(MsgQueue *self);

#endif //MSGQUEUE_H
